package xunhuan;

public class test10 {
    public static void main(String[] args) {
        int y = 10;
        int x = 5;
        int c = 0;
        while (y < x){
            y = y -x;
            System.out.println("余数" + y);
            c++;
        }System.out.println("商" + c);
    }
}
